//
//  WYCAboutMeController.m
//  51信用卡
//
//  Created by 中企互联 on 2017/11/2.
//  Copyright © 2017年 中企互联. All rights reserved.
//

#import "WYCAboutMeController.h"
#import "configuration.h"
@interface WYCAboutMeController ()

@end

@implementation WYCAboutMeController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //setNav
    [self setupNav];
    
    
    //创建界面
    [self setupCreat];
}
- (void)setupCreat{

    UIImageView * logoimageView = [[UIImageView alloc] init];
    logoimageView.frame = CGRectMake(ScreenWidth / 2 - 40, kDevice_Is_iPhoneX ? 88+40:64+40, 80, 80);
    logoimageView.image = [UIImage imageNamed:@"图层12"];
    [self.view addSubview:logoimageView];
    
    
    UILabel * appVersionlabel = [[UILabel alloc] init];
    appVersionlabel.frame = CGRectMake(0,CGRectGetMaxY(logoimageView.frame) + 100 * px,ScreenWidth,60 * px);
    appVersionlabel.text = [NSString stringWithFormat:@"任性还 %@",APPVERSION];
    appVersionlabel.textColor = WYCRGBColor(167, 175, 179);
    appVersionlabel.font = [UIFont systemFontOfSize:40 * px];
    appVersionlabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:appVersionlabel];
 UITextView  *   proView = [[UITextView alloc]initWithFrame:CGRectMake(30, appVersionlabel.frame.size.height+appVersionlabel.frame.origin.y+20, ScreenWidth-60 , 200)];
    proView.backgroundColor = [UIColor whiteColor];
    proView.font = [UIFont systemFontOfSize:14.f];
    proView.textColor = [UIColor lightGrayColor];
    proView.textAlignment = NSTextAlignmentLeft;
    proView.editable = NO;
    proView.text = @"任性还信用卡金融服务平台致力于为支付机构、商家、用户间提供安全、稳定、可靠的移动支付、金融综合系统技术处理解决方案。";
    [self.view addSubview:proView];
    
}
#pragma make ------->>nav界面修改
- (void)setupNav{
    
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"关于我们";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    [self.navigationController.navigationBar setBarTintColor:wycMain];
    
}

@end
